﻿@model SimpleScrum.Core.Entities.Team
@{
    ViewBag.Title = "New Team";
}
<div class="breadcrumbs" id="breadcrumbs">
    <ul class="breadcrumb">
        <li class="active">
            <i class="icon-home home-icon"></i>
            @ViewBag.Title
        </li>
    </ul>
    <div class="nav-search pull-right">
        <a class="btn btn-small btn-grey" href="@Url.Action("Index", "Team")">
            <i class="icon-list-alt"></i> All Teams
        </a>
    </div>
</div>
<div class="page-content">
    <div class="page-header position-relative">
        <h1>@ViewBag.Title<small><i class="icon-double-angle-right"></i>@ViewBag.Message</small></h1>
    </div><!--/.page-header-->
    <div class="row-fluid">
        <div class="span12">
            <div class="widget-box form-horizontal span5 offset3">
                <div class="widget-header">
                    <h4>Insert Team Information New Form</h4>
                </div>
                <div class="widget-body">
                    <div class="widget-main no-padding">
                        @using (Html.BeginForm()) {
                            @Html.AntiForgeryToken()
                            <div class="text-error">
                                @Html.ValidationSummary("Please enter valid Data!")
                            </div>
                            <fieldset >
                                <div class="control-group">
                                    @Html.LabelFor(model => model.Name, new {@class="control-label", @for="form-field-1"})
                                    <div class="controls">
                                        @Html.TextBoxFor(model => model.Name, new {@class="span10", @id="form-field-1", @placeholder="Team Name"})
                                        <span class="help-inline">*</span>
                                        <div class="text-warning">@Html.ValidationMessageFor(model => model.Name)</div>
                                    </div>
                                </div>
                                <div class="control-group">
                                    @Html.LabelFor(model => model.Status, new {@class="control-label", @for="form-field-2"})
                                    <div class="controls">
                                        @Html.TextBoxFor(model => model.Status,new {@class="span10 limited", id="form-field-2", @rows="5", placeholder="Team Status"})
                                        <div class="text-warning">@Html.ValidationMessageFor(model => model.Status)</div>
                                    </div>
                                </div>
                            </fieldset>
                            <div class="form-actions center">
                                <button class="btn btn-success" value="Save">
                                    <i class="icon-ok bigger-110"></i>Save
                                </button>
                            </div>
                        }
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}